package ${pPackage}.common.exception;


import ${pPackage}.common.entity.ResultCode;

/**
 * 自定义异常
 */
public class CommonException extends Exception {
  private ResultCode resultCode;

  public CommonException(ResultCode resultCode) {
    this.resultCode = resultCode;
  }

  public ResultCode getResultCode() {
    return resultCode;
  }
}
